import React from 'react';
import ReactDOM from 'react-dom/client';
import { HashRouter } from 'react-router-dom';

import App from './App';
import './assets/css/index.css'
import { ThemeContext } from 'styled-components';
import UserContext from './context/user';
import { Provider } from 'react-redux';
import store from './store';
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
  // <React.StrictMode>
  <Provider store={store}>
    <ThemeContext.Provider value ={{name:'lem',age:18}}>
      <UserContext.Provider value={{name:'UserContext',age:18}}>
        <HashRouter>
          <App />
        </HashRouter>
      </UserContext.Provider>
    </ThemeContext.Provider>
  </Provider>
  // </React.StrictMode>
);